package cn.com.jslh.boarpro.util.template;

import net.idik.lib.slimadapter.SlimInjector;
import net.idik.lib.slimadapter.viewinjector.IViewInjector;

import cn.com.jslh.boarpro.R;

/**
 * Created by Administrator on 2017/11/17.
 */

public class RadioTempalte extends AddTempBaseItem implements AdapterInterface{
    @Override
    public String getFlag() {
        return "radio";
    }

    @Override
    public int getLayout() {
        return R.layout.add_template_radio_item_layout;
    }

    @Override
    public SlimInjector<? extends AddTempBaseItem> getSlimInjetor() {
        SlimInjector<RadioTempalte> inj = new SlimInjector<RadioTempalte>() {
            @Override
            public void onInject(RadioTempalte data, IViewInjector injector) {
                injector.text(R.id.text,"radioradioradio");
            }
        };
        return inj;
    }
}
